package by.wind.drebedengi.utils;

import java.util.Calendar;

public class Timer {
	
	private static Calendar itsTimer = Calendar.getInstance();
	
	public static void start() {
		itsTimer = Calendar.getInstance();
	}

	public static void stop(String message) {
		System.out.println(message + " "+(Calendar.getInstance().getTime().getTime() - itsTimer.getTime().getTime())/1000 + "sec");
	}
}
